package priv.mill.service.impl;

import java.util.List;

import javax.annotation.Resource;//autoWried

import org.springframework.stereotype.Service;

import priv.mill.mapper.EmployeeMapper;
import priv.mill.model.Employee;
import priv.mill.service.EmployeeService;

@Service
public class EmployeeServiceImpl implements EmployeeService{
	
	@Resource
	private EmployeeMapper employeeMapper;
	
	@Override
	public List<Employee> findAll() throws Exception{
		return employeeMapper.findAll();
	}

}
